package com.lyc.service;

import com.lyc.entity.Category;
import com.lyc.entity.vo.PageBean;

import java.util.List;

public interface ICategoryService {
    List<Category> getAll();

    Category getCategoryByCid(Integer cid);

    void addCategory(Category category);

    void updateCategory(Category category);

    PageBean<Category> getAllByPage(Integer currentPage);

    void deleteCategoryByCid(Integer cid);
}
